﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000305 RID: 773
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class ClockParkBattleEndScNotify : IMessage<ClockParkBattleEndScNotify>, IMessage, IEquatable<ClockParkBattleEndScNotify>, IDeepCloneable<ClockParkBattleEndScNotify>, IBufferMessage
	{
		// Token: 0x170009F7 RID: 2551
		// (get) Token: 0x0600227E RID: 8830 RVA: 0x000614F5 File Offset: 0x0005F6F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<ClockParkBattleEndScNotify> Parser
		{
			get
			{
				return ClockParkBattleEndScNotify._parser;
			}
		}

		// Token: 0x170009F8 RID: 2552
		// (get) Token: 0x0600227F RID: 8831 RVA: 0x000614FC File Offset: 0x0005F6FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return ClockParkBattleEndScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170009F9 RID: 2553
		// (get) Token: 0x06002280 RID: 8832 RVA: 0x0006150E File Offset: 0x0005F70E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return ClockParkBattleEndScNotify.Descriptor;
			}
		}

		// Token: 0x06002281 RID: 8833 RVA: 0x00061515 File Offset: 0x0005F715
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkBattleEndScNotify()
		{
		}

		// Token: 0x06002282 RID: 8834 RVA: 0x0006151D File Offset: 0x0005F71D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkBattleEndScNotify(ClockParkBattleEndScNotify other) : this()
		{
			this.bEBCFIIABLI_ = other.bEBCFIIABLI_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06002283 RID: 8835 RVA: 0x0006154E File Offset: 0x0005F74E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ClockParkBattleEndScNotify Clone()
		{
			return new ClockParkBattleEndScNotify(this);
		}

		// Token: 0x170009FA RID: 2554
		// (get) Token: 0x06002284 RID: 8836 RVA: 0x00061556 File Offset: 0x0005F756
		// (set) Token: 0x06002285 RID: 8837 RVA: 0x0006155E File Offset: 0x0005F75E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BEBCFIIABLI
		{
			get
			{
				return this.bEBCFIIABLI_;
			}
			set
			{
				this.bEBCFIIABLI_ = value;
			}
		}

		// Token: 0x170009FB RID: 2555
		// (get) Token: 0x06002286 RID: 8838 RVA: 0x00061567 File Offset: 0x0005F767
		// (set) Token: 0x06002287 RID: 8839 RVA: 0x0006156F File Offset: 0x0005F76F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06002288 RID: 8840 RVA: 0x00061578 File Offset: 0x0005F778
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as ClockParkBattleEndScNotify);
		}

		// Token: 0x06002289 RID: 8841 RVA: 0x00061586 File Offset: 0x0005F786
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(ClockParkBattleEndScNotify other)
		{
			return other != null && (other == this || (this.BEBCFIIABLI == other.BEBCFIIABLI && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600228A RID: 8842 RVA: 0x000615C4 File Offset: 0x0005F7C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.BEBCFIIABLI != 0U)
			{
				num ^= this.BEBCFIIABLI.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600228B RID: 8843 RVA: 0x0006161C File Offset: 0x0005F81C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600228C RID: 8844 RVA: 0x00061624 File Offset: 0x0005F824
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600228D RID: 8845 RVA: 0x00061630 File Offset: 0x0005F830
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Retcode);
			}
			if (this.BEBCFIIABLI != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.BEBCFIIABLI);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600228E RID: 8846 RVA: 0x0006168C File Offset: 0x0005F88C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.BEBCFIIABLI != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BEBCFIIABLI);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600228F RID: 8847 RVA: 0x000616E4 File Offset: 0x0005F8E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(ClockParkBattleEndScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.BEBCFIIABLI != 0U)
			{
				this.BEBCFIIABLI = other.BEBCFIIABLI;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06002290 RID: 8848 RVA: 0x00061734 File Offset: 0x0005F934
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06002291 RID: 8849 RVA: 0x00061740 File Offset: 0x0005F940
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 104U)
				{
					if (num != 120U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.BEBCFIIABLI = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000E0B RID: 3595
		private static readonly MessageParser<ClockParkBattleEndScNotify> _parser = new MessageParser<ClockParkBattleEndScNotify>(() => new ClockParkBattleEndScNotify());

		// Token: 0x04000E0C RID: 3596
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000E0D RID: 3597
		public const int BEBCFIIABLIFieldNumber = 15;

		// Token: 0x04000E0E RID: 3598
		private uint bEBCFIIABLI_;

		// Token: 0x04000E0F RID: 3599
		public const int RetcodeFieldNumber = 13;

		// Token: 0x04000E10 RID: 3600
		private uint retcode_;
	}
}
